package com.bsy.network.callback

import com.bsy.framework.toast.Toaster

/**
 * Created by Sincerity on 2024/4/11.
 * Copyright
 * 描述：
 */
class BaseApiErrorCallBack : IApiErrorCallback {
    override fun onError(code: Int?, error: String?) {
        Toaster.show(error)
    }

    override fun onLoginFail(code: Int?, error: String?) {
        Toaster.show(error)
        // todo 去登录页
//        LoginServiceProvider.goLogin()
    }
}